IsValidStorageUnitRef
TheIsValidStorageUnitRef
method returns a Boolean value that indicates whether the specified persistent reference is valid.
ODBoolean IsValidStorageUnitRef (in ODStorageUnitRef aRef);
aRef
- The persistent reference to be tested.
- return value
kODTrue
if the specified persistent reference is valid, otherwisekODFalse
.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnitRef
type (page 903).
Listing 2-45 on page 106 in OpenDoc Cookbook.
Listing 2-46 on page 108 in OpenDoc Cookbook.
"Clone" on page 323 in OpenDoc Programmer's Guide.
"Reading Links in InitPartFromStorage" on page 394 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help